Decidable structures between Church-style and Curry-style
نویسندگان
چکیده
It is well-known that the type-checking and type-inference problems are undecidable for second order λ-calculus in Curry-style, although those for Church-style are decidable. What causes the differences in decidability and undecidability on the problems? We examine crucial conditions on terms for the (un)decidability property from the viewpoint of partially typed terms, and what kinds of type annotations are essential for (un)decidability of type-related problems. It is revealed that there exists an intermediate structure of second order λ-terms, called a style of hole-application, between Church-style and Curry-style, such that the type-related problems are decidable under the structure. We also extend this idea to the omega-order polymorphic calculus Fω, and show that the type-checking and type-inference problems then become undecidable. 1998 ACM Subject Classification D.3.1 Formal Definitions and Theory, F.4.1 Mathematical Logic
منابع مشابه
On the relation between Church - style typing and Curry - style typing : Extended Abstract ∗
There are two versions of type assignment in λ-calculus: Church-style, in which the type of each variable is fixed, and Curry-style (also called “domain free”), in which it is not. As an example, in Church-style typing, λx : A . x is the identity function on type A, and it has type A → A but not B → B for a type B different from A. In Curry-style typing, λx.x is a general identity function with...
متن کاملBridging Curry and Church's typing style
There are two versions of type assignment in the λ-calculus: Church-style, in which the type of each variable is fixed, and Currystyle (also called “domain free”), in which it is not. As an example, in Church-style typing, λx:A.x is the identity function on type A, and it has type A → A but not B → B for a type B different from A. In Currystyle typing, λx.x is a general identity function with t...
متن کاملExistential type systems between Church and Curry style (type-free style)
We study type checking, typability, and type inference problems for type-free style and Curry style second-order existential systems where the type-free style differs from the Curry style in that the terms of the former contain information on where the existential quantifier elimination and introduction take place but omit the information on which types are involved. We show that all the proble...
متن کاملCurry-style type Isomorphisms and Game Semantics
Curry-style system F, i.e. system F with no explicit types in terms, can be seen as a core presentation of polymorphism from the point of view of programming languages. This paper gives a characterisation of type isomorphisms for this language, by using a game model whose intuition comes both from the syntax and fromthe game semantics universe. Themodel is composed of: an untyped part to interp...
متن کاملThe Undecidability of Type Related Problems in Type-free Style System F
We consider here a number of variations on the System F, that are predicative second-order systems whose terms are intermediate between the Curry style and Church style. The terms here contain the information on where the universal quantifier elimination and introduction in the type inference process must take place, which is similar to Church forms. However, they omit the information on which ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013